@layout("/template/container.html",{js:["/js/module/admin/sysDataModifyLock/index.js"]}){
<div class="layui-body-header">

    @if(isLocked){
        <span class="layui-body-header-title">解锁管理</span>
    @}else {
        <span class="layui-body-header-title">加锁管理</span>
    @}
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">

                    <form id="formContainer" lay-filter="formContainer" class="layui-form model-form">
                        <input id="dataKey" name="dataKey" type="hidden" value = "${dataKey}"/>
                        <div class="layui-form-item">
                            <label class="layui-form-label">登录密码<span style="color: red;">*</span></label>
                            <div class="layui-input-block">
                                <input name="password" placeholder="请输入密码" type="password" class="layui-input" lay-verify="required" required/>
                            </div>
                        </div>
                        <div class="layui-form-item text-right">
                            @if(isLocked){
                            <button class="layui-btn layui-btn-danger" lay-filter="deleteLock" lay-submit>解锁</button>
                            @}else {
                            <button class="layui-btn layui-btn-normal" lay-filter="addLock" lay-submit>加锁</button>
                            @}
                            <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
@}